package edu.bw.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

//枚举不能用@Data 注解
@AllArgsConstructor
@Getter
public enum OperationStatus {
    SUCCESS(1001, "操作成功"),
    FAIL(1002, "操作失败");

    private Integer code;
    private String msg;
}
